package org.zfes.snowier.cloud.zbss.pmp.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class PmpBugsRecord extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public PmpBugsRecord() {}
	public PmpBugsRecord(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

	@javax.validation.constraints.NotNull(message="所属项目不能为空")
	  private java.lang.Long bugId;
	@javax.validation.constraints.NotBlank(message="bug名称不能为空")
	@javax.validation.constraints.NotNull(message="bug名称不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="bug名称长度不能大于255")
	  private java.lang.String bugName;
	@javax.validation.constraints.NotNull(message="负责人不能为空")
	 
	
	  private java.lang.Long chargeUserId;
	
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="负责人长度不能大于255")
	  private java.lang.String chargeUserName;
	  
	@javax.validation.constraints.NotNull(message="投入时间不能为空")
	  private java.lang.Integer workHours;
	@javax.validation.constraints.NotNull(message="bug进度不能为空")
	  private java.lang.Byte progress;
 
	 private java.lang.String  remark;
	 
	 private java.util.Date createtime;
	 
	//<-------------------------------------------->
	public PmpBugsRecord setBugId(java.lang.Long bugId){
	 this.bugId=bugId;
	 return this;
	}
	public java.lang.Long getBugId(){
		return this.bugId;
	}
	public PmpBugsRecord setBugName(java.lang.String bugName){
		this.bugName=bugName==null?null:bugName.trim();
	 return this;
	}
	public java.lang.String getBugName(){
		return this.bugName;
	}
	
	public PmpBugsRecord setChargeUserId(java.lang.Long chargeUserId){
	 this.chargeUserId=chargeUserId;
	 return this;
	}
	public java.lang.Long getChargeUserId(){
		return this.chargeUserId;
	}
	public PmpBugsRecord setChargeUserName(java.lang.String chargeUserName){
		this.chargeUserName=chargeUserName==null?null:chargeUserName.trim();
	 return this;
	}
	public java.lang.String getChargeUserName(){
		return this.chargeUserName;
	}
	public PmpBugsRecord setCreatetime(java.util.Date createtime){
	 this.createtime=createtime;
	 return this;
	}
	public java.util.Date getCreatetime(){
		return this.createtime;
	}
	public PmpBugsRecord setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public PmpBugsRecord setWorkHours(java.lang.Integer workHours){
	 this.workHours=workHours;
	 return this;
	}
	public java.lang.Integer getWorkHours(){
		return this.workHours;
	}
	public PmpBugsRecord setProgress(java.lang.Byte progress){
	 this.progress=progress;
	 return this;
	}
	public java.lang.Byte getProgress(){
		return this.progress;
	}
	public java.lang.String getRemark() {
		return remark;
	}
	public PmpBugsRecord setRemark(java.lang.String remark) {
		this.remark = remark;
		 return this;
	}

}
